package com.bsj.power.common.def.entity.gpgga;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description Gpgga
 * @time 2024/11/28 11:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tab_gpgga")
public class Gpgga {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 某段时间的E方向误差结果值
     */
    @TableField("e")
    private double e;

    /**
     * 某段时间的N方向误差结果值
     */
    @TableField("n")
    private double n;

    /**
     * 某段时间的U方向误差结果值
     */
    @TableField("u")
    private double u;

    /**
     * 机组号
     */
    @TableField("unit_no")
    private Integer unitNo;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date createTime;
}
